package com.admin.mapper;

import java.io.Serializable;
import java.util.List;

import com.admin.domain.RoleDO;

/**
 * 角色mapper
 * 
 * @author ZY
 * @date 2018/12/06
 */
public interface RoleMapper extends BaseMapper<RoleDO> {

    /**
     * 根据一组id，批量删除
     * 
     * @param list
     * @return
     */
    public int deleteByPrimaryKeys(List<? extends Serializable> list);


    List<RoleDO> findByUserId(Integer userId);
}